package com.yunxin.core.infra.persistence.entity.order;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户申请订单表
 *
 * @author zero°
 * @since   2023-11-24
 */
public class OrderUserApplyDO implements Serializable {
    /**
     * 主键
     */
    private Long id;

    /**
     * 用户code
     */
    private String userCode;

    /**
     * 访问者id
     */
    private String visitorId;

    /**
     * 申请订单号
     */
    private String applyOrderNo;

    /**
     * 姓名
     */
    private String userName;

    /**
     * 手机号
     */
    private String userPhone;

    /**
     * 身份证号
     */
    private String userIdentityNo;

    /**
     * 城市
     */
    private String city;

    /**
     * 提交时间(最初)
     */
    private Date submitTime;

    /**
     * 渠道推广code
     */
    private String channelPromotionCode;

    /**
     * 渠道推广价格
     */
    private BigDecimal channelPromotionPrice;

    /**
     * 渠道推广价格版本
     */
    private Long channelPromotionPriceVersion;

    /**
     * 渠道id
     */
    private Long channelId;

    /**
     * 产品id
     */
    private Long productId;

    /**
     * 分配状态 0.待分配 1.已分配
     */
    private Integer allocationStatus;

    /**
     * 分配时间
     */
    private Date allocationTime;

    /**
     * 标识删除 0.存在 1.删除
     */
    private Integer isDel;

    /**
     * 创建人
     */
    private String creator;

    /**
     * 修改人
     */
    private String editor;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date editTime;

    /**
     * 版本号
     */
    private Long version;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getVisitorId() {
        return visitorId;
    }

    public void setVisitorId(String visitorId) {
        this.visitorId = visitorId;
    }

    public String getApplyOrderNo() {
        return applyOrderNo;
    }

    public void setApplyOrderNo(String applyOrderNo) {
        this.applyOrderNo = applyOrderNo;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserIdentityNo() {
        return userIdentityNo;
    }

    public void setUserIdentityNo(String userIdentityNo) {
        this.userIdentityNo = userIdentityNo;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public Date getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(Date submitTime) {
        this.submitTime = submitTime;
    }

    public String getChannelPromotionCode() {
        return channelPromotionCode;
    }

    public void setChannelPromotionCode(String channelPromotionCode) {
        this.channelPromotionCode = channelPromotionCode;
    }

    public BigDecimal getChannelPromotionPrice() {
        return channelPromotionPrice;
    }

    public void setChannelPromotionPrice(BigDecimal channelPromotionPrice) {
        this.channelPromotionPrice = channelPromotionPrice;
    }

    public Long getChannelPromotionPriceVersion() {
        return channelPromotionPriceVersion;
    }

    public void setChannelPromotionPriceVersion(Long channelPromotionPriceVersion) {
        this.channelPromotionPriceVersion = channelPromotionPriceVersion;
    }

    public Long getChannelId() {
        return channelId;
    }

    public void setChannelId(Long channelId) {
        this.channelId = channelId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Integer getAllocationStatus() {
        return allocationStatus;
    }

    public void setAllocationStatus(Integer allocationStatus) {
        this.allocationStatus = allocationStatus;
    }

    public Date getAllocationTime() {
        return allocationTime;
    }

    public void setAllocationTime(Date allocationTime) {
        this.allocationTime = allocationTime;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getEditor() {
        return editor;
    }

    public void setEditor(String editor) {
        this.editor = editor;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getEditTime() {
        return editTime;
    }

    public void setEditTime(Date editTime) {
        this.editTime = editTime;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }
}